Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Conversation

@joshgarnett
Copy link
Collaborator

When cloning an event sourced message, the parent child relationships of the clone were broken.

When cloning an event sourced message, the parent child relationships of the clone were broken.
Copy link
Contributor

@wackoisgod wackoisgod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any overall perf implications of this change ?

printer->Print(vars,
"$name$_ = new EventMapField<$key_type_name$, $value_type_name$>($name$MapConverter, Context, $number$, true);\n");
}
else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we creating a dependencies now on the EventSource code even when the message is not sourced ?

public MessageB() {
OnConstruction();
c_.SetContext(Context, 2);
c_ = new EventMapField<string, global::Com.Zynga.Runtime.Protobuf.File.MessageC>(cMapConverter, Context, 2, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the tabbing int he generator 👎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants